package com.easylinkin.linkappapi.facerecognition.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.easylinkin.linkappapi.facerecognition.entity.PersonnelIdentifier;

public interface PersonnelIdentifierService extends IService<PersonnelIdentifier> {

    /**
     * 查询指定身份名称的记录数量，且该身份未删除
     */
    PersonnelIdentifier queryWithIdentifierName(String identifierName);


    /**
     * 分页查询，身份未删除
     */
    IPage<PersonnelIdentifier> queryPersonnelList(Page<PersonnelIdentifier> page, PersonnelIdentifier identifier);
}
